package com.chanceit.ssss.activity;

import android.os.Bundle;

import com.chanceit.ssss.fragments.CarerProjectUpdateFragment;

public class OrderReceiverActivity extends BaseFragmentActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_order_receiver);
		if (findViewById(R.id.fragment_container) != null) {
			// Create an instance of ExampleFragment
			CarerProjectUpdateFragment firstFragment = new CarerProjectUpdateFragment();

			// In case this activity was started with special instructions from
			// an Intent,
			// pass the Intent's extras to the fragment as arguments
			firstFragment.setArguments(getIntent().getExtras());

			// Add the fragment to the 'fragment_container' FrameLayout
			getSupportFragmentManager().beginTransaction()
					.add(R.id.fragment_container, firstFragment).commit();
		}
	}
}
